package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.User;

/**
 * userbMapper接口
 * 
 * @author ruoyi
 * @date 2025-03-07
 */
public interface UserMapper 
{
    /**
     * 查询userb
     * 
     * @param userId userb主键
     * @return userb
     */
    public User selectUserByUserId(Long userId);

    /**
     * 查询userb列表
     * 
     * @param user userb
     * @return userb集合
     */
    public List<User> selectUserList(User user);

    /**
     * 新增userb
     * 
     * @param user userb
     * @return 结果
     */
    public int insertUser(User user);

    /**
     * 修改userb
     * 
     * @param user userb
     * @return 结果
     */
    public int updateUser(User user);

    /**
     * 删除userb
     * 
     * @param userId userb主键
     * @return 结果
     */
    public int deleteUserByUserId(Long userId);

    /**
     * 批量删除userb
     * 
     * @param userIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUserByUserIds(Long[] userIds);
}
